<footer role="contentinfo">
            <div class="newsletter-wrap stripe-white">
              <div class="row">
                <form action="" method="get" name="subscribeForm" id="subscribeForm">
                  <div class="large-3 columns">
                    <h3>Newsletter Signup</h3>
                  </div>
                  <div class="small-4 large-3 columns">
                    <input type="text" class="input field primary" name="subscribername" id="subscribername" placeholder="Enter Your Name">
                  </div>
                  <div class="small-5 large-4 columns">
                    <input type="text" name="subscriberemail" id="subscriberemail" class="input field primary" placeholder="Enter Your E-mail">
                  </div>
                  <div class="small-3 large-2 columns">
                    <input type="button" class="input button primary red" value="Subscribe" id="subscriberFinish">
                    <input type="button" class="input button primary" value="Subscribed" id="finish" style="background-color:green;display:none;">
                  </div>
                </form>
              </div>
            </div>
            
            <div class="stripe-regular">
              <div class="row">
                <div class="column">                  
                  <h2>Popular Stores</h2>
                </div>
              </div>
              <div class="row collapse">
                <div class="column">
                  <div id="popular-stores" class="popular-companies flexslider">
                    <ul class="rr slides">
                    <?php foreach($popStoreList as $temp){?>
                      <li>
                        <a href="/<?php echo $temp['store_url'];?>-promo-codes" class="wrapper-5 small">
                          <img src="/public/images/all/130x130/<?php echo $temp['store_url'];?>.png" alt="<?php echo $temp['store_name'];?> Promo Codes" style="border-radius: 3px;box-shadow: 0 0 4px #A049BB;">
                        </a>
                      </li>
                    <?php }?>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
            
            <div class="browse-a-z">
            	<h2>Browse Stores By Alphabet</h2>
            	<ul>
            		<li><a href="/all-promo-codes/0-9">0-9</a></li>
				    <?php for($a=65;$a<=90;$a++){ ?>
					<li><a href="/all-promo-codes/<?php echo chr($a);?>"><?php echo chr($a);?></a></li>
					<?php }?>
            	</ul>
            	<div style="clear:both;"></div>
            </div>
            <div style="clear:both;"></div>
            <div class="stripe-dark pre-footer-wrap" style="padding:20px 0 0 0;">
              <div class="row">
                <div class="large-4 columns">
                  <h3 class="alt">About</h3>
                  <p id="aboutus" align="justify">
                    Discountpromocodes.in enables people across India searching for latest and ongoing money saving tricks, to get the latest promo codes, voucher codes, promotional offers of various online stores. Our team strives hard to get you the latest and best possible discount offers from vast sectors like shopping, insurance, travel etc.
                  </p>
                </div>
                <div class="small-6 large-4 large-offset-1 columns">
                  <h3 class="alt">Recent Tweets</h3>
                  <div id="tweets">
                    <p>
						<a class="twitter-timeline" height="200" data-tweet-limit="2" data-chrome="noheader nofooter noscrollbar noborders transparent" href="https://twitter.com/discountpromoc1" data-widget-id="378608995293872128">Tweets by @discountpromoc1</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
					</p>
                  </div>
                </div>
                <nav id="footer-navigation" class="small-6 large-2 large-offset-1 columns">
                  <h3 class="alt">Menu</h3>
                  <ul class="rr footer-menu">
                    <li><a href="/">Home</a></li>
                    <li><a href="/about-us.html">About</a></li>
                    <li><a href="/privacy-policy.html">Privacy Policy</a></li>
                    <li><a href="/contact-us.html">Contact Us</a></li>
                  </ul>
                </nav>
              </div>
            </div>
			<p id="back-top" style="display:block;width:100%;"><a href="#" style="float:right;"><img src="/public/images/uparrow.png" border="0" alt="back to top" /></a></p>            
            <div class="stripe-darker footer-wrap" style="margin:0;">
              <div class="row">
                <div class=" columns">
                  <div class="logo">
                    <img src="/public/images/discountpromocodes-logo.png" style="position:absolute; height:60px; width:178px; margin:-10px 0 0 0px;"/>
                  </div>
                </div>
                <div class="large-6 columns">
                  <div class="copyright" style="margin:0 0 0 100px;">Copyright &copy; 2013 - 2014. All rights reserved.</div>
                </div>
                <div class="large-3 columns">
                  <ul class="rr social">
                    <li><a target="_blank" href="https://www.facebook.com/profile.php?id=100006516140186" class="ir fb">Facebook</a></li>
                    <li><a target="_blank" href="https://plus.google.com/u/0/118283640896774602219" class="ir in">g-Plus</a></li>
                    <li><a target="_blank" href="https://twitter.com/discountpromoc1" class="ir tw">Twitter</a></li>
                    <li><a target="_blank" href="http://www.pinterest.com/discountpromoco/boards/" class="ir pn">Pinterest</a></li>
                  </ul>
                </div>
              </div>
            </div>
            
          </footer>
          
          <!-- footer subscribe -->
        	<div class="footerPop" style="display:none;" id="footerSubscribe">
        		<div id="sform">
        			<form action="" method="post" name="subscriberForm" id="subscriberForm">
        				<input type="text" id="subscriber-name" name="subscriber-name" value="Enter Name" onclick="blank(this, 'Enter Name')" onblur="blank(this, 'Enter Name')" />
        				<input type="text" id="subscriber-email" name="subscriber-email" value="Enter Email" onclick="blank(this, 'Enter Email')" onblur="blank(this, 'Enter Email')" />
        				<input type="hidden" name="subscriber-store" id="subscriber-store" value="<?php if(isset($storeDetailsArray[0]['store_name']) && $storeDetailsArray[0]['store_name']!=''){ echo $storeDetailsArray[0]['store_name'];}?>" />
        				<input type="hidden" name="subscriber-store-id" id="subscriber-store-id" value="<?php if(isset($storeDetailsArray[0]['store_id']) && $storeDetailsArray[0]['store_id']!=''){ echo $storeDetailsArray[0]['store_id'];}?>" />
        				<input type="button" value="Subscribe" id="subdcribeButton" name="subdcribeButton">
        			</form>
        			<div id="done" style="display:none;font-size:14px;color:green;">You have been sucessfully subscribed.</div>
        		</div>
        		<div id="sCross">
        			<a href="javascript:void(0);" onclick="hideSubscribe();">X</a>
        		</div>
        		<div style="clear:both;"></div>
        	</div>
          <!-- footer subscribe -->    
        </div>
        <!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> -->
        <script>window.jQuery || document.write('<script src="/public/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
        <script src="/public/js/plugins.js"></script>
        <script src="/public/js/main.js"></script>
        <script src="/public/js/scripts.js"></script>
    </body>
</html>
<script>
	$(document).ready(function(a){if(!getCookie("footerSubscribe")){
	  function showSubscribe(){
	  	$('#footerSubscribe').fadeIn('slow');
	  }
      window.onload = showSubscribe();
	}
	});

	$(document).ready(function(){

		// hide #back-top first
		$("#back-top").hide();
		
		// fade in #back-top
		$(function () {
			$(window).scroll(function () {
				if ($(this).scrollTop() > 100) {
					$('#back-top').fadeIn();
				} else {
					$('#back-top').fadeOut();
				}
			});

			// scroll body to 0px on click
			$('#back-top').click(function () {
				$('body,html').animate({
					scrollTop: 0
				}, 200);
				return false;
			});
		});

	});
</script>
